<nz-modal nzWidth="1000" [(nzVisible)]="isVisible" [nzTitle]="l('view_arrived_plan')" (nzOnCancel)="handleCancel()"
  (nzOnOk)="handleOk()">
  <nz-table #ajaxTable nzShowSizeChanger nzBordered [nzScroll]="{x:'1300px'}" [nzFrontPagination]="false" [nzData]="tableHelper.items"
    [nzLoading]="tableHelper.loading" [nzTotal]="tableHelper.totalCount" [(nzPageIndex)]="tableHelper.pageIndex"
    [nzShowTotal]="totalTemplate" [(nzPageSize)]="tableHelper.pageSize" (nzPageIndexChange)="load()" (nzPageSizeChange)="load()">
    <thead>
      <tr>
        <th nzWidth="100px" nzLeft="0px">{{l('serial_number')}}</th>
        <th>{{l('container_no')}}</th>
        <th>{{l('path_no')}}</th>
        <th>{{l('pda_no')}}</th>
        <th>{{l('lockset_no')}}</th>
        <th>{{l('car_no')}}</th>
        <th>{{l('start_site')}}</th>
        <th>{{l('end_site')}}</th>
        <th>{{l('time_of_shipment')}}</th>
        <th>{{l('expected_arrived_time')}}</th>
        <th nzRight="0px">{{l('view_address')}}</th>
      </tr>
    </thead>
    <tbody>
      <tr *ngFor="let data of ajaxTable.data;let i = index">
        <td nzLeft="0px">{{i++1}}</td>
        <td>{{data.containerCode}}</td>
        <td>{{data.routeCode}}</td>
        <td>{{data.handsetCode}}</td>
        <td>{{data.lockCode}}</td>
        <td>{{data.platenumber}}</td>
        <td>{{data.launchsiteName}}</td>
        <td>{{data.destinationsiteName}}</td>
        <td>{{data.launchTime}}</td>
        <td>{{data.expectedarriveTime}}</td>
 
        <td nzRight="0px">
          <a (click)="showAddress(data.id,data.containerCode)" *ngIf="data.containerStatus==3">{{l('view_real_address')}}</a>
    
        </td>
      </tr>
    </tbody>
  </nz-table>
  <ng-template #totalTemplate let-total>
    {{l('total')}} {{total}} {{l('items')}}
  </ng-template>
</nz-modal>

<app-real-online-modal #realOnlineModal></app-real-online-modal>